package pl.balon.gwt.diagrams.client.connection.pointwidget;

import pl.balon.gwt.diagrams.client.connection.AbstractConnection;

import com.google.gwt.event.dom.client.HasKeyPressHandlers;
import com.google.gwt.event.dom.client.HasMouseDownHandlers;
import com.google.gwt.event.dom.client.HasMouseOutHandlers;
import com.google.gwt.event.dom.client.HasMouseUpHandlers;
import com.google.gwt.user.client.ui.Focusable;

public interface MoveablePointWidget extends HasMouseDownHandlers, HasMouseOutHandlers, HasMouseUpHandlers, HasKeyPressHandlers, Focusable{

	public abstract void setControledIndexPoint(int controledIndexPoint);

	int getLeft();

	int getTop();

	public abstract int getControledIndexPoint();

	public void setPosition(int left, int top);

	public AbstractConnection getConnection();

}